<?php
defined('SYSPATH') OR die('No direct access allowed.');
/**
 * login.php
 * @author ranuandra
 *
 * 8 Jun 2012 10:25:37
 *
 * 
 */
?>
<div class="container">
	<div class="row">
		<div class="span12">
			<img src="<?php echo URL::base()?>assets/images/karir.jpg" />
		</div>
	</div>
	<hr></hr>
	<div class="row">
		<div class="span12">
			<span class="pull-right">
				<a href="www.facebook.com"><img src="<?php echo URL::base()?>assets/images/glyphicons_390_facebook.png" /></a>
				<a href="www.twitter.com"><img src="<?php echo URL::base()?>assets/images/glyphicons_391_twitter_t.png" /></a>
			</span>
		</div>
	</div>
	<hr></hr>
	<div class="row">
		<div class="span6">
			<div class="well">
				<h2>Silahkan mendaftar</h2> untuk bisa mengajukan lamaran
				<p><a href="<?php echo URL::base() ?>home/register" class="btn btn-large btn-primary">Registrasi >></a></p>
			</div>
		</div>
		<div class="span6">
			<div class="well">
	        	<?php 
	        	echo Form::open(URL::base().'login', array('class' => 'form-horizontal'));
	        	?>
	            
	                    <div class="control-group">
	                    	<label class="control-label">Email</label>
	                    	<div class="controls">
	                    		<?php echo Form::input('username', '', array('class' => 'tips', 'title'=>'Silahkan masukan alamat email anda'))?>
	                    	</div> 
	                    </div> 
	                    <div class="control-group">
	                    	<label class="control-label">Password</label>
	                    	<div class="controls">
	                    		<?php echo Form::password('password', '', array('class' => 'tips', 'title'=>'Silahkan masukan password anda'))?>
	                    	</div> 
	                    </div> 
	                    <div class="control-group">
	                    	<label class="control-label">&nbsp</label>
	                    	<div class="controls">
	                    		<?php echo Form::input('capthca', '', array('class' => 'tips', 'title'=>'Silahkan masukan kode di bawah ini'))?>
	                    	</div> 
	                    </div> 
	                    <div class="control-group">
	                    	<label class="control-label">&nbsp</label>
	                    	<div class="controls">
	                    	<?php 
	                    	if(isset($captcha))
	                    	{
	                    		echo $captcha->render();
	                    	}
	                    	
	                    	?>
	                    	</div> 
	                    </div> 
	                    <div class="form-actions">
	                    	<button type="submit" class="btn btn-primary">Save changes</button>
	                    	<button class="btn">Cancel</button>
	                    </div>
	
	
	
	        
	            <?php 
	            echo Form::close();
	            ?>	
	            </div>	
		</div>
	</div>
</div>